using System;
using System.Drawing;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;
using System.IO;
using System.Web.Security;
using webapp4U;
using webapp4U.BOL;

namespace webapp4U.UI
{
    [ParseChildren(true)]
    public class RepeaterLogo : Repeater
    {
        private int _cateID;
        private int _position;


        public int CateID
        {
            get { return _cateID; }
            set { _cateID = value; }
        }


        public int Position
        {
            get { return _position; }
            set { _position = value; }
        }


        protected override void CreateChildControls()
        {
            List<webapp4U.BOL.Logo> obj = webapp4U.BOL.Logo.GetLogoByPosition(Position);
            this.DataSource = obj;
            this.DataBind();
        }
     
    }
}
